#!/bin/sh 

if [ "$1" = "clean" ]; then
	find -type f -regex ".*\.o\|.*\.bin\|.*\.img\|.*log\.bochsrc\.disk\|.*\.img\.lock"  -delete
	exit 0
fi

if [ ! -e "hd.img" ]; then
	/usr/bin/bximage -hd=1 -mode="create" -q hd.img
fi


./mbr.sh
